configure.ac: Use AC_CONFIG_COMMANDS instead deprecated AC_OUTPUT_COMMANDS
authorJavier Jardón <jjardon@gnome.org>
Sun, 6 Feb 2011 22:36:58 +0000 (22:36 +0000)
committerJavier Jardón <jjardon@gnome.org>
Sun, 13 Feb 2011 11:10:35 +0000 (11:10 +0000)
configure.ac

index dd99c9bc7fe0fd91734b13ff5f1a5053f0ddae78..61c06b1cb9c98174e8a239a10b1a10a3bbbfd788 100644 (file)
@@ -564,9 +564,11 @@ fi
 ALL_LINGUAS="`grep -v '^#' "$srcdir/po/LINGUAS" | tr '\n' ' '`"
 AM_GLIB_GNU_GETTEXT
 LIBS="$LIBS $INTLLIBS"
-AC_OUTPUT_COMMANDS([case "$CONFIG_FILES" in *po-properties/Makefile.in*)
-        sed -e "/POTFILES =/r po-properties/POTFILES" po-properties/Makefile.in > po-properties/Makefile
-      esac])
+AC_CONFIG_COMMANDS([po-properties],
+                   [[case "$CONFIG_FILES" in *po-properties/Makefile.in*)
+                       sed -e "/POTFILES =/r po-properties/POTFILES" po-properties/Makefile.in > po-properties/Makefile
+                     esac]],
+                   [[]])
 
 dnl Snippet below is copied from AM_GLIB_GNU_GETTEXT to generate a first
 dnl po-properties/POTFILES during configure; see GNOME #573515.